package com.woniuxy.cloud.carl.order.common;


import com.woniuxy.result.Messagable;

public enum OrderResultCode implements Messagable {

    DEMO_CODE(3000, "DEMO_CODE 请删除"),
    ORDER_CAN_NOT_CANCEL(3001,"订单无法取消"),
    EXPRESS_NOT_EXIST(3002,"快递不存在"),
    EXPRESS_IS_RECEIVE(3003,"快递已签收")


    ;

    private Integer code;
    private String message;

    private OrderResultCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return this.code;
    }

    public String getMessage() {
        return this.message;
    }
}
